<!-- 参加者表示 -->
  <?php include('tablebegin.html'); ?>
        <tr>
	  <td class="graytop"><?php echo CHtml::activeLabel($offkai,'meishou'); ?></td>
          <td class="text">
            <font size="+1"><?php echo $offkai->meishou; ?>&nbsp;
            </font>
          </td>
        </tr>
        <tr>
          <td class="gray"><?php echo CHtml::activeLabel($offkai,'offkaicode'); ?></td>
          <td class="text"><?php print $offkai->offkaicode; ?>&nbsp;
          </td>
        </tr>
        <tr>
	  <td class="gray"><?php echo CHtml::activeLabel($offkai,'kaisaibi'); ?></td>
          <td class="text"><?php echo Offkai::toJtime($offkai->kaisaibi); ?>&nbsp;
          </td>
        </tr>
        <tr>
	  <td class="gray"><?php echo CHtml::activeLabel($offkai,'basho'); ?></td>
          <td class="text"><?php print nl2br($offkai->basho); ?>&nbsp;
          </td>
        </tr>
        <tr>
	  <td class="gray"><?php echo CHtml::activeLabel($offkai,'kanji'); ?></td>
          <td class="text"><?php echo $offkai->kanji; ?>&nbsp;
          </td>
        </tr>
        <tr>
          <td class="gray"><?php echo CHtml::activeLabel($offkai,'gaiyou'); ?></td>
          <td class="text"><?php print nl2br($offkai->gaiyou); ?>&nbsp;
        </tr>
        <tr>
          <td class="gray"><?php echo CHtml::activeLabel($offkai,'joutai'); ?></td>
          <td class="text"><?php echo $offkai->joutai; ?>&nbsp;
          </td>
        </tr>
   <?php include('tableend.html'); ?>
<br>

<?php include('tablebegin.html'); ?>
        <tr>
	<?php $sankasya = new Sankasya; ?>
          <td class="graytop"><?php echo CHtml::activeLabel($sankasya,'sankasya'); ?></td>
          <td class="gray" width="50%"><?php echo CHtml::activeLabel($sankasya,'honbun'); ?></td>
          <td class="gray">修正</td>
          <td class="gray">削除</td>
          <td class="gray"><?php echo CHtml::activeLabel($sankasya,'modified'); ?></td>
        </tr>

   <?php foreach( $sankasyaList as $sankasya ) { ?>
        <tr>
          <td class="text">
	   <?php print $sankasya->sankasya; ?>
          </td>
          <td class="text">
	   <?php print nl2br($sankasya->honbun); ?>
          </td>
          <td class="text">
	      <?php if (substr($sankasya->sankasya, 0, 4) != Sankasya::UNKOWN) echo CHtml::link('修正', Yii::app()->createUrl('sankasya/edit', array('id'=>$sankasya->id))); ?>
          </td>
          <td class="text">
	      <?php if (substr($sankasya->sankasya, 0, 4) != Sankasya::UNKOWN) echo CHtml::link('削除', Yii::app()->createUrl('sankasya/del', array('id'=>$sankasya->id))); ?>
          </td>
          <td class="text">
	   <?php print $sankasya->modified; ?>
          </td>
        </tr>
  <?php } ?>
        <tr>
          <td colspan="5" class="gray">
            計&nbsp;<?php echo count($sankasyaList); ?>名</span>
          </td>
        </tr>
   <?php include('tableend.html'); ?>
<br>

<span class="text">
   <?php echo CHtml::link('参加登録', Yii::app()->createUrl('sankasya/add', array('offkaicode'=>$offkai->offkaicode))); ?>
</span>

<!-- $Id: top.php 2 2009-12-25 09:19:58Z mocapapa@g.pugpug.org $ -->
